﻿using KPDemo.WinForm.Services;
using KPFramework.Plugin;

namespace KPDemo.WinForm
{
    internal class Activator : IPluginActivator
    {
        public void Start(IPluginContext context)
        {
            //其他服务暴露
            context.AddService("KPDemo.WinFormService", new KPDemoWinFormService());
        }

        public void Stop(IPluginContext context)
        {

        }
    }
}
